﻿using MediatR;
using System;
using System.Collections.Generic;
namespace ShineTech.Web.Missons.Commands
{
    public class MissonsByFiltersQuery : IRequest<IEnumerable< MissonDTO>>
    {
        public string Name { get; set; }
        public Guid? UserId { get; set; }

        public Guid KanbanId { get; private set; }

        public MissonsByFiltersQuery(string name, Guid? userId, Guid kanbanId)
        {
            Name = name ?? string.Empty;
            KanbanId = kanbanId;
            UserId = userId;
        }
    }
}
